/**
 * Created with JetBrains WebStorm.
 * User: Endre Balogh
 * Date: 5/28/13
 * Time: 1:23 PM
 * To change this template use File | Settings | File Templates.
 */

'use strict';

angular.module('ender.game.town', ['ender.game.services', 'ender.game.gambling-den', 'ender.game.town.trainers']).
    controller('TownController', function ($scope, $routeParams, $location, gameStateService) {

    })
    .controller('ShopsController', function ($scope, shopRepository, gameStateService) {
        var shopIdList = gameStateService.getPlayerCharacter().unlockedShops;
        $scope.shops = shopRepository.getShopsByIds(shopIdList);
    });



